<template>
  <el-card>
    <div class="">
      <div class="card_header">
        <slot name="header"></slot>
      </div>
      <div class="card_number">
        <slot name="number"></slot>
      </div>
      <div class="card_charts">
        <slot name="charts"></slot>
      </div>
      <div class="card_footer">
        <slot name="footer"></slot></div>
    </div>
  </el-card>
</template>

<script setup lang="ts">
</script>

<style lang="scss" scoped>
$color: yellowgreen;
.card_header {
  color: $color;
  font-size: 16px;
}
.card_number {
  color: $color;
  font-size: 20px;
  font-style: italic;
  margin-top: 5px;
  //缩进样式
  text-indent: 5px;
  font-weight: 900;
  animation: donghua .5s linear 0s 1;
}

.card_charts{
   color: $color;
   font-size: 14px;
   height: 80px;
   border-bottom: 1px solid $color;
}
.card_footer{
   margin:10px 0px;
   color:$color;
   font-size: 14px;

}
@keyframes donghua {
  from {
    transform: rotate(0deg) scale(1);
  }
  to {
    transform: rotate(360deg) scale(2);
  }
}
</style>